package com.mind.adjust.mapper;

import com.mind.system.domain.AjAttachCateBusiness;
import java.util.List;
import java.util.Set;

/**
 * 业务小类(AjAttachCateBusiness)表数据库访问层
 *
 * @author makejava
 * @since 2024-07-28 22:05:27
 */
public interface AjAttachCateBusinessMapper {

    /**
     * 查询业务小类数据集合
     * 
     * @param attachCateBusiness 业务小类信息
     * @return 业务小类数据集合
     */
    public List<AjAttachCateBusiness> selectAttachCateBusinessList(AjAttachCateBusiness attachCateBusiness);

    /**
     * 通过业务小类ID查询业务小类信息
     * 
     * @param attachCateBusinessId 业务小类ID
     * @return 角色对象信息
     */
    public AjAttachCateBusiness selectAttachCateBusinessById(Long attachCateBusinessId);

    /**
     * 删除业务小类信息
     * 
     * @param attachCateBusinessId 业务小类ID
     * @return 结果
     */
    public int deleteAttachCateBusinessById(Long attachCateBusinessId);

    /**
     * 批量删除业务小类信息
     * 
     * @param attachCateBusinessIds 需要删除的业务小类ID
     * @return 结果
     */
    public int deleteAttachCateBusinessByIds(Long[] attachCateBusinessIds);

    /**
     * 修改业务小类信息
     * 
     * @param attachCateBusiness 业务小类信息
     * @return 结果
     */
    public int updateAttachCateBusiness(AjAttachCateBusiness attachCateBusiness);

    /**
     * 新增业务小类信息
     * 
     * @param attachCateBusiness 业务小类信息
     * @return 结果
     */
    public int insertAttachCateBusiness(AjAttachCateBusiness attachCateBusiness);
    
    /**
     * 批量新增业务小类信息
     * 
     * @param attachCateBusinessList 业务小类信息
     * @return 结果
     */
    public int insertAttachCateBusinessBatch(List<AjAttachCateBusiness> attachCateBusinessList);
    
    
    /**
     * 根据名称查业务小类
     *
     * @param name 业务小类名称
     * @return 结果
     */
    AjAttachCateBusiness selectAttachCateBusinessByName(String name);

    Set<String> selectAllOriginalId();

    int updateAttachCateBusinessByOriginalId(AjAttachCateBusiness attachCateBusiness);

    int deleteByOriginalId(String originalId);
}

